@import "../../style/modules/function";

.nav-bar-wrapper {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    padding-right: rpx(200);

    .title {
        font-size: rpx(36);
        flex: 1;
        text-align: center;
        max-width: rpx(350);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        line-height: 1;
    }

    .icon-list {
        flex: 0 0 rpx(200);
        padding-left: rpx(5);
        display: flex;
        align-items: center;

        .icon {
            position: relative;
            width: rpx(70);
            height: rpx(65);
            display: flex;
            align-items: center;
            justify-content: center;
            background-repeat: no-repeat;
            background-position: center center;

            &.back {
                background-size: rpx(57);
                &.hover {
                    border-top-left-radius: rpx(33);
                    border-bottom-left-radius: rpx(33);
                }
            }

            &.home {
                background-size: rpx(43);

                &.hover {
                    border-top-right-radius: rpx(33);
                    border-bottom-right-radius: rpx(33);
                }
            }

            &.hover {
                background-color: #b8b8b8;
            }
        }
    }
}
